package com.dcbeida.activity.store;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.DrugInfo;
import com.dcbeida.bean.SourceBean;

import java.util.ArrayList;

/**
 * Created by hp on 2016/5/12.
 */
public interface StoreContract {

    interface View extends BaseView<Present> {
        void showTip(String msg);

        void addItem(DrugInfo info);//添加药品

        /**
         *
         * @param count 种类
         * @param quantity 数量
         */
        void setQuantity(int count,int quantity);

        String getRkDate();

        String getFhDate();



        void confimSuccess();

        void showList(ArrayList<SourceBean> list);

        void addItem(int pos, DrugInfo info, int head_pos, DrugInfo headInfo);
    }

    interface Present extends BasePresenter {

        void addstockindrugcodes(String drugcode);//新增入库药品监管码

        boolean isDrugInfoList();//判断是否有销售药品

        void addstockinlog(String from,int fromID,String invoiceMoney,String deliverImgUrl);//新增入库

        void getSourcelInfo(String keyword);//药店入库-查询来货单位列表
    }
}
